package com.ekuaitu.kuaitu.activity;

import android.widget.SearchView;

import com.ekuaitu.kuaitu.R;

import com.ekuaitu.kuaitu.base.BaseActivity;

import com.ekuaitu.kuaitu.utils.StatusBarUtil;
import com.ekuaitu.kuaitu.widget.SearchPositionView;
import com.ekuaitu.kuaitu.widget.SearchPositionView.FinishActivity;


public class SearchPositionActivity extends BaseActivity implements FinishActivity {


    @Override
    public int getLayoutId() {
        return R.layout.activity_search_position;
    }

    @Override
    public void initView() {
        StatusBarUtil.setColor(this, getResources().getColor(R.color.colorPrimary), 0, true);
        SearchPositionView searchPositionView = (SearchPositionView) findViewById(R.id.searchPositionView);
        searchPositionView.setFinishActivity(this);
    }

    //searchView中点击取消结束Activity
    @Override
    public void finishActivity() {
        finish();
    }
}
